| 99 | $insenz['topicstatus'] ? array('menu_insenz_virtualforum', 'insenz&operation=virtualforum&c_status=2') : array(), | = | 99 | $insenz['topicstatus'] ? array('menu_insenz_virtualforum', 'insenz&operation=virtualforum&c_status=2') : array(), |
| 100 | array('menu_insenz_tools_myinsenz', 'http://www.insenz.com/publishers/', '_blank'), | 100 | array('menu_insenz_tools_myinsenz', 'http://www.insenz.com/publishers/', '_blank'), | |
| 101 | array('menu_insenz_tools_faq', 'http://www.insenz.com/publishers/faq/', '_blank') | 101 | array('menu_insenz_tools_faq', 'http://www.insenz.com/publishers/faq/', '_blank') | |
| 102 | )); | 102 | )); | |
| 103 | $historymenus = array(array('menu_home', 'home')); | 103 | $historymenus = array(array('menu_home', 'home')); | |
| 104 | $query = $db->query("SELECT title, url FROM {$tablepre}admincustom WHERE uid='$discuz_uid' AND sort='0' ORDER BY dateline DESC LIMIT 0, 10"); | 104 | $query = $db->query("SELECT title, url FROM {$tablepre}admincustom WHERE uid='$discuz_uid' AND sort='0' ORDER BY dateline DESC LIMIT 0, 10"); | |
| 105 | showmenu('hdwiki', array( | +- | ||
| 106 | array('menu_hdwiki_settings', 'hdwiki&operation=settings'), | |||
| 107 | array('menu_hdwiki_mark', 'hdwiki&operation=mark'), | |||
| 108 | array('menu_hdwiki_doc', 'hdwiki&operation=docmanage'), | |||
| 109 | array('menu_hdwiki_category', 'catedit'), | |||
| 110 | array('menu_hdwiki_help', 'hdwiki&operation=help') | |||
| 111 | )); | |||
| 112 | while($custom = $db->fetch_array($query)) { | = | 105 | while($custom = $db->fetch_array($query)) { |
| 113 | $historymenus[] = array($custom['title'], substr($custom['url'], 19)); | 106 | $historymenus[] = array($custom['title'], substr($custom['url'], 19)); | |
| 114 | } | 107 | } | |
| 115 | if(count($historymenus) > 1) { | 108 | if(count($historymenus) > 1) { | |
| 116 | $historymenus[] = array('menu_home_clearhistorymenus', 'misc&operation=custommenu&do=clean', 'main', 'class="menulink"'); | 109 | $historymenus[] = array('menu_home_clearhistorymenus', 'misc&operation=custommenu&do=clean', 'main', 'class="menulink"'); | |
| 117 | } | 110 | } | |
| 118 | showmenu('index', $historymenus); | 111 | showmenu('index', $historymenus); | |
| 119 | 112 | |||
| 120 | ?> | 113 | ?> |